<h1>New flashcard</h1>


<% form_for([@fset,@flashcard]) do |f| %>
  <%= f.error_messages %>
<div>
  <div class="double">
    <div class="front side"><%= f.text_field :question %></div>
    <div class="back side"><%= f.text_field :answer %></div>
  </div>
  <div class="controls">
    <%= f.submit "Create" %>
  </div>
</div>
<% end %>

<%= link_to '', @fset, { :class => "goback" } %>
